
@SET TEMPLATEDIR="c:\program files\common files\microsoft shared\web server extensions\12\Template"
@SET STSADM="c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm"
@SET GACUTIL="c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe"

Echo Installing CustomApplicationPages.dll in GAC
%GACUTIL% -if bin\debug\BlancoWorld.EventReceiversManager.dll

Echo Copying files
xcopy /e /y TEMPLATE\* %TEMPLATEDIR%

Echo Installing feature
%STSADM% -o installfeature -filename BlancoWorld.EventReceiversManager\feature.xml -force
 
REM IISRESET
cscript c:\windows\system32\iisapp.vbs /a "SharePoint Collaboration" /r
cscript c:\windows\system32\iisapp.vbs /a "Coller Capital" /r

